Version 3.0 Pro User's Guide |
|
Recent Article Lists |
Previous |
Next Contents |
First, using the RECENTLIST directive, like this:
<RECENTLIST>LinkText</RECENTLIST>
...will automatically add the user entry to the internal database of recently added articles. See the "Supplemental Directives" section for details on the RECENTLIST directive.
To access the database of recently entered articles, you request a special URL to be returned by NetCloak Pro, which contains the all-uppercase text "RECENT". "RECENT" links can be used on any page on your server. There are three forms of the command:
Here is an example that should make use of the "RECENT" command clearer. A section like this might be found on your server's home page:
Click on one of these links to view articles entered... <UL> <LI><A HREF="/NetCloak.acgi$RECENT"> since I last checked</A> <LI><A HREF="/NetCloak.acgi$RECENT_60"> in the Last Hour</A> <LI><A HREF="/NetCloak.acgi$RECENT_480"> in the Last 8 Hours</A> <LI><A HREF="/NetCloak.acgi$RECENT_1440"> in the Last Day</A> <LI><A HREF="/NetCloak.acgi$RECENT_4320"> in the Last 3 Days</A> </UL>
If your web server supports web server "actions" and "suffix mappings", and you have set up your web server so that ".fdml" files are mapped to the NetCloak Pro CGI, then you don't need to include the path to the NetCloak.acgi application in URLs for recent lists. You can simply request a fictitious FDML file named for the specific "recent list" you want to see, using all the variations described above. In this case, the previous example could instead be written as:
Click on one of these links to view articles entered...
<UL> <LI><A HREF="/RECENT.FDML"> since I last checked</A> <LI><A HREF="/RECENT_60.FDML"> in the Last Hour</A> <LI><A HREF="/RECENT_480.FDML"> in the Last 8 Hours</A> <LI><A HREF="/RECENT_1440.FDML"> in the Last Day</A> <LI><A HREF="/RECENT_4320.FDML"> in the Last 3 Days</A> </UL>
Finally, remember that each list can contain up to 256 links with a maximum of 26 lists.
Note: The URL you use to access a recent list must contain an underscore character ('_') before the list ID and the minutes value. However, the syntax of the RECENTLIST directive in your FDML files does not use an underscore - it uses a space character instead.
Copyright © 1996-1999 Maxum Development Corporation http://www.maxum.com/ |
Previous |
Next Contents |